package cn.com.godliu.gatewaydemo2.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class business {

    @GetMapping(value = "/hello", produces = {"application/json;charset=UTF-8"})
    public String sayHello(String name) {
        return "bs2:Hello," + name;
    }
}
